package io.renren.modules.app.message;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

/**
 * 〈信息推送结果〉<br>
 *
 * @author
 */
public class MessageResult implements Serializable {
    private static final long serialVersionUID = 2615115824430173064L;

    public static final String skuId="skuId";
    public static final String orderId="orderId";
    public static final String jdOrderState="jdOrderState";
    public static final String cancelType="cancelType";
    public static final String goodsState="state";
    public static final String pageNum="page_num";
    public static final String poolType="poolType";
    public static final String afsServiceId="afsServiceId";
    /**
     * 消息编码
     */
    private long id;
    /**
     * 消息
     */
    private Map<String, String> result;
    /**
     * 时间
     */
    private Date time;
    /**
     * 消息类型
     */
    private int type;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Map<String, String> getResult() {
        return result;
    }

    public void setResult(Map<String, String> result) {
        this.result = result;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "MessageResult{" +
                "id=" + id +
                ", result=" + result +
                ", time=" + time +
                ", type=" + type +
                '}';
    }
}
